import { apiRequest } from '@/utils/HttpRequest';

export async function findByNoticePageList() {
  //SwaggerResources

  return apiRequest.getList<API.BaseArrayDataResult<API.Notice>>(
    'notice/findByList',
  );
}

export async function editNotice(params: API.Notice) {
  return apiRequest.post<any>('notice/edit', params);
}
